﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Workflow
//  File name:	AssignmentActivityEventArgs.cs
//  Developer:	Solomatov Igor
//  Created:	16.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System;
using System.Workflow.ComponentModel;
using Smart.Workflow.WorkflowActions;

namespace Smart.Workflow
{
	/// <summary>
	/// Assignment activity event args
	/// </summary>
	[Serializable]
	public class AssignmentActivityEventArgs : ActivityInstanceEventArgs
	{
		public SPAssignmentActivity Assignment;

		/// <summary>
		/// Initializes a new instance of the <see cref="T:Smart.Workflow.AssignmentActivityEventArgs"/> class.
		/// </summary>
		public AssignmentActivityEventArgs(Activity source, ActivityInstance instance, SPAssignmentActivity assignment)
			: base(source, instance)
		{
			Assignment = assignment;
		}
	}
}